package com.kaili.basic.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotations.TableName;
import com.kaili.basic.pojo.entity.CommonVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("mdm_pushgroup")
public class MdmPushGroupVO extends CommonVo {
    @ApiModelProperty(name = "id", value = "id")
    private Long id;

    @ApiModelProperty(name = "pushGroupCode", value = "推送组编号")
    @Excel(name = "推送组编号",orderNum = "1")
    private String pushGroupCode;

    @ApiModelProperty(name = "pushGroupName", value = "推送组名称")
    @Excel(name = "推送组名称",orderNum = "2")
    private String pushGroupName;

    @ApiModelProperty(name = "orgId", value = "机构id")
    private Long orgId;

    @ApiModelProperty(name = "orgName", value = "机构名称")
    @Excel(name = "所属机构",orderNum = "3")
    private String orgName;





    @ApiModelProperty (name = "groupRange",value = "推送范围")
    private Integer[] groupRange;

    @ApiModelProperty (name = "groupRange",value = "推送范围")
    private String groupRangestr;

    @ApiModelProperty (name = "groupRangeIds",value = "推送范围ids")
    private List<MdmPushGroupByIdVo> groupRangeIdsMap;






    @ApiModelProperty(name = "status",value = "推送范围状态：1为按机构创建，2按分组创建，3为按用户创建")
    @Excel(name = "推送组范围",orderNum = "4" ,replace = {"按机构_1","按分组_2"})
    private Long status;

    @ApiModelProperty(name = "alarmId",value = "告警id")
    private Long alarmId;

    @ApiModelProperty(name = "rdStatus",value = "状态码：0为删除，1为正常")
    private char rdStatus;

    @ApiModelProperty(name = "deviceBelong",value = "设备归属（0不勾选 1勾选）")
    private String deviceBelong;

    @ApiModelProperty(name = "deviceBelongIds",value = "设备归属(字符转数组)")
    private Integer[] deviceBelongIds;

    @ApiModelProperty(name = "deviceType",value = "设备类型（0不勾选 1勾选）")
    private String deviceType;

    @ApiModelProperty(name = "deviceTypeIds",value = "设备类型(字符转数组)")
    private Integer[] deviceTypeIds;

    @ApiModelProperty(name = "deviceTerrace",value = "设备平台（0不勾选 1勾选）")
    private String deviceTerrace;

    @ApiModelProperty(name = "deviceTerraceIds",value = "设备平台(字符转数组)")
    private Integer[] deviceTerraceIds;


    @ApiModelProperty(name = "deviceModel",value = "设备型号（0不勾选 1勾选）")
    private String deviceModel;

    @ApiModelProperty(name = "deviceModelIds",value = "设备型号(字符转数组)")
    private Integer[] deviceModelIds;

    @ApiModelProperty(name = "deviceNum",value = "设备数量")
    @Excel(name = "设备数量",orderNum = "5")
    private String deviceNum;

    @ApiModelProperty(name = "strategyNum",value = "策略数量")
    @Excel(name = "策略数量",orderNum = "6")
    private String strategyNum;

    @ApiModelProperty(name = "applicationNum",value = "应用数量")
    @Excel(name = "应用数量",orderNum = "7")
    private String applicationNum;

    @ApiModelProperty(name = "createName",value = "创建人")
    @Excel(name = "创建人",orderNum = "8")
    private String createName;

    @ApiModelProperty(name = "createTime",value = "创建时间")
    @Excel(name = "创建时间",orderNum = "9",format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
